package com.bc.mes.mbg.mapper;

import com.bc.mes.mbg.model.schedule.CalPlan;
import com.bc.mes.mbg.model.schedule.CalPlanExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CalPlanMapper {
    int countByExample(CalPlanExample example);

    int deleteByExample(CalPlanExample example);

    int deleteByPrimaryKey(Long planId);

    int insert(CalPlan record);

    int insertSelective(CalPlan record);

    List<CalPlan> selectByExample(CalPlanExample example);

    CalPlan selectByPrimaryKey(Long planId);

    int updateByExampleSelective(@Param("record") CalPlan record, @Param("example") CalPlanExample example);

    int updateByExample(@Param("record") CalPlan record, @Param("example") CalPlanExample example);

    int updateByPrimaryKeySelective(CalPlan record);

    int updateByPrimaryKey(CalPlan record);
}